package com.itheima.ydd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.ydd.dto.SysMenuDto;
import com.itheima.ydd.entity.Result;
import com.itheima.ydd.entity.SysMenu;

import java.util.List;
import java.util.Map;

public interface SysMenuService extends IService<SysMenu> {


    //增加
    Result addSysMenu(Map<String, Object> sysMenu);

    //根据id删除
    Result deleteById(Integer id);


    List<SysMenuDto> allData();
}
